From: Florian Müllner Date: Thu, 20 Sep 2012 21:18:51 +0000 (+0200) Subject: userMenu: Close menu immediately on user/session switch X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~5775 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=3429fc3e4cc5833fbe59b6e7143b0ff6c5b97e1a;p=gnome-shell.git userMenu: Close menu immediately on user/session switch The same reasoning as for commit 1f30670c1d8d8 also applies to VT switches. https://bugzilla.gnome.org/show_bug.cgi?id=684459 --- diff --git a/js/ui/userMenu.js b/js/ui/userMenu.js index 3d6e340fb..0a3192d12 100644 --- a/js/ui/userMenu.js +++ b/js/ui/userMenu.js @@ -820,6 +820,7 @@ const UserMenuButton = new Lang.Class({ }, _onLoginScreenActivate: function() { + this.menu.close(BoxPointer.PopupAnimation.NONE); Main.overview.hide(); if (this._screenSaverSettings.get_boolean(LOCK_ENABLED_KEY)) Main.screenShield.lock(false);